package com.xbongbong.paas.pojo.workflow.settings;

import lombok.Getter;

/**
 * 工作流条件节点流转类型
 * @author 魏荣杰
 *
 */
@Getter
public enum WorkflowNodeConditionTypeEnum {
    /**
     * 使用自定义流转条件
     */
    NORMAL_TYPE(1, "使用自定义流转条件"),
    /**
     * 使用else条件
     */
    ELSE_TYPE(2, "使用else条件"),

    HAS_DATA(3, "有结果"),

    NONE_DATA(4, "无结果"),

    APPROVAL_PAAS(5, "审批通过"),

    APPROVAL_REFUSE(6, "审批拒绝")
    ;

    private final Integer type;
    private final String description;

    WorkflowNodeConditionTypeEnum(Integer type, String description) {
        this.type = type;
        this.description = description;
    }
}
